<?php include PATH_TPL."/tpl_header.html" ?>
<script type="text/javascript" src="/public/js/admin/updateClass.js"></script>

<div class="header">
    <h1 class="page-title">班级管理</h1>
</div>
        
<ul class="breadcrumb">
    <li><a>班级管理</a> <span class="divider">/</span></li>
    <li><a href="<?php echo SITE_ROOT;?>admin/show-classes">所有班级</a> <span class="divider">/</span></li>
    <li class="active">修改班级信息</li>
</ul>

<div class="container-fluid">
    <div class="row-fluid">
        <div class="well">
          <ul class="nav nav-tabs">
            <li class="active"><a href="#home" data-toggle="tab">基本信息</a></li>
          </ul>
          <div id="myTabContent" class="tab-content">
            <div class="tab-pane active in" id="home">
              <form id="tab">
                  <div class="errMsg commonMsg"></div>
                  <div class="errMsg errMsgCid"></div>
                  <label for="cid">*班级号</label>
                  <input type="text" placeholder="班级号" class="input-xlarge" id="cid" value="<?php echo $class['class_id'];?>" readonly>

                  <div class="errMsg errMsgName"></div>
                  <label for="classname">*班级名称</label>
                  <input type="text" placeholder="班级名称" class="input-xlarge" id="classname" value="<?php echo $class['classname'];?>">

                  <label for="persons">人数</label>
                  <input type="text" placeholder="人数" class="input-xlarge" id="persons" value="<?php echo $class['persons'];?>">
              </form>
            </div>
        </div>
        <div class="btn-toolbar">
            <button class="btn btn-primary" id="submit"><i class="icon-save"></i>保存</button>
            <div class="btn-group"></div>
        </div>
    </div>
</div>


<?php include PATH_TPL."/tpl_sidebar.html" ?>